/*
 * XML Type:  GeneralOpenOrder
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.GeneralOpenOrder
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML GeneralOpenOrder(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface GeneralOpenOrder extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("generalopenorderfe46type");
    
    /**
     * Gets the "FITID" element
     */
    java.lang.String getFITID();
    
    /**
     * Gets (as xml) the "FITID" element
     */
    net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType xgetFITID();
    
    /**
     * Sets the "FITID" element
     */
    void setFITID(java.lang.String fitid);
    
    /**
     * Sets (as xml) the "FITID" element
     */
    void xsetFITID(net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType fitid);
    
    /**
     * Gets the "SRVRTID" element
     */
    java.lang.String getSRVRTID();
    
    /**
     * Gets (as xml) the "SRVRTID" element
     */
    net.ofx.types.x2003.x04.ServerIdType xgetSRVRTID();
    
    /**
     * True if has "SRVRTID" element
     */
    boolean isSetSRVRTID();
    
    /**
     * Sets the "SRVRTID" element
     */
    void setSRVRTID(java.lang.String srvrtid);
    
    /**
     * Sets (as xml) the "SRVRTID" element
     */
    void xsetSRVRTID(net.ofx.types.x2003.x04.ServerIdType srvrtid);
    
    /**
     * Unsets the "SRVRTID" element
     */
    void unsetSRVRTID();
    
    /**
     * Gets the "SECID" element
     */
    net.ofx.types.x2003.x04.SecurityId getSECID();
    
    /**
     * Sets the "SECID" element
     */
    void setSECID(net.ofx.types.x2003.x04.SecurityId secid);
    
    /**
     * Appends and returns a new empty "SECID" element
     */
    net.ofx.types.x2003.x04.SecurityId addNewSECID();
    
    /**
     * Gets the "DTPLACED" element
     */
    java.lang.String getDTPLACED();
    
    /**
     * Gets (as xml) the "DTPLACED" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTPLACED();
    
    /**
     * Sets the "DTPLACED" element
     */
    void setDTPLACED(java.lang.String dtplaced);
    
    /**
     * Sets (as xml) the "DTPLACED" element
     */
    void xsetDTPLACED(net.ofx.types.x2003.x04.DateTimeType dtplaced);
    
    /**
     * Gets the "UNITS" element
     */
    java.lang.String getUNITS();
    
    /**
     * Gets (as xml) the "UNITS" element
     */
    net.ofx.types.x2003.x04.QuantityType xgetUNITS();
    
    /**
     * Sets the "UNITS" element
     */
    void setUNITS(java.lang.String units);
    
    /**
     * Sets (as xml) the "UNITS" element
     */
    void xsetUNITS(net.ofx.types.x2003.x04.QuantityType units);
    
    /**
     * Gets the "SUBACCT" element
     */
    net.ofx.types.x2003.x04.SubAccountEnum.Enum getSUBACCT();
    
    /**
     * Gets (as xml) the "SUBACCT" element
     */
    net.ofx.types.x2003.x04.SubAccountEnum xgetSUBACCT();
    
    /**
     * Sets the "SUBACCT" element
     */
    void setSUBACCT(net.ofx.types.x2003.x04.SubAccountEnum.Enum subacct);
    
    /**
     * Sets (as xml) the "SUBACCT" element
     */
    void xsetSUBACCT(net.ofx.types.x2003.x04.SubAccountEnum subacct);
    
    /**
     * Gets the "DURATION" element
     */
    net.ofx.types.x2003.x04.DurationEnum.Enum getDURATION();
    
    /**
     * Gets (as xml) the "DURATION" element
     */
    net.ofx.types.x2003.x04.DurationEnum xgetDURATION();
    
    /**
     * Sets the "DURATION" element
     */
    void setDURATION(net.ofx.types.x2003.x04.DurationEnum.Enum duration);
    
    /**
     * Sets (as xml) the "DURATION" element
     */
    void xsetDURATION(net.ofx.types.x2003.x04.DurationEnum duration);
    
    /**
     * Gets the "RESTRICTION" element
     */
    net.ofx.types.x2003.x04.RestrictionEnum.Enum getRESTRICTION();
    
    /**
     * Gets (as xml) the "RESTRICTION" element
     */
    net.ofx.types.x2003.x04.RestrictionEnum xgetRESTRICTION();
    
    /**
     * Sets the "RESTRICTION" element
     */
    void setRESTRICTION(net.ofx.types.x2003.x04.RestrictionEnum.Enum restriction);
    
    /**
     * Sets (as xml) the "RESTRICTION" element
     */
    void xsetRESTRICTION(net.ofx.types.x2003.x04.RestrictionEnum restriction);
    
    /**
     * Gets the "MINUNITS" element
     */
    java.lang.String getMINUNITS();
    
    /**
     * Gets (as xml) the "MINUNITS" element
     */
    net.ofx.types.x2003.x04.QuantityType xgetMINUNITS();
    
    /**
     * True if has "MINUNITS" element
     */
    boolean isSetMINUNITS();
    
    /**
     * Sets the "MINUNITS" element
     */
    void setMINUNITS(java.lang.String minunits);
    
    /**
     * Sets (as xml) the "MINUNITS" element
     */
    void xsetMINUNITS(net.ofx.types.x2003.x04.QuantityType minunits);
    
    /**
     * Unsets the "MINUNITS" element
     */
    void unsetMINUNITS();
    
    /**
     * Gets the "LIMITPRICE" element
     */
    java.lang.String getLIMITPRICE();
    
    /**
     * Gets (as xml) the "LIMITPRICE" element
     */
    net.ofx.types.x2003.x04.UnitPriceType xgetLIMITPRICE();
    
    /**
     * True if has "LIMITPRICE" element
     */
    boolean isSetLIMITPRICE();
    
    /**
     * Sets the "LIMITPRICE" element
     */
    void setLIMITPRICE(java.lang.String limitprice);
    
    /**
     * Sets (as xml) the "LIMITPRICE" element
     */
    void xsetLIMITPRICE(net.ofx.types.x2003.x04.UnitPriceType limitprice);
    
    /**
     * Unsets the "LIMITPRICE" element
     */
    void unsetLIMITPRICE();
    
    /**
     * Gets the "STOPPRICE" element
     */
    java.lang.String getSTOPPRICE();
    
    /**
     * Gets (as xml) the "STOPPRICE" element
     */
    net.ofx.types.x2003.x04.UnitPriceType xgetSTOPPRICE();
    
    /**
     * True if has "STOPPRICE" element
     */
    boolean isSetSTOPPRICE();
    
    /**
     * Sets the "STOPPRICE" element
     */
    void setSTOPPRICE(java.lang.String stopprice);
    
    /**
     * Sets (as xml) the "STOPPRICE" element
     */
    void xsetSTOPPRICE(net.ofx.types.x2003.x04.UnitPriceType stopprice);
    
    /**
     * Unsets the "STOPPRICE" element
     */
    void unsetSTOPPRICE();
    
    /**
     * Gets the "MEMO" element
     */
    java.lang.String getMEMO();
    
    /**
     * Gets (as xml) the "MEMO" element
     */
    net.ofx.types.x2003.x04.MessageType xgetMEMO();
    
    /**
     * True if has "MEMO" element
     */
    boolean isSetMEMO();
    
    /**
     * Sets the "MEMO" element
     */
    void setMEMO(java.lang.String memo);
    
    /**
     * Sets (as xml) the "MEMO" element
     */
    void xsetMEMO(net.ofx.types.x2003.x04.MessageType memo);
    
    /**
     * Unsets the "MEMO" element
     */
    void unsetMEMO();
    
    /**
     * Gets the "CURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency getCURRENCY();
    
    /**
     * True if has "CURRENCY" element
     */
    boolean isSetCURRENCY();
    
    /**
     * Sets the "CURRENCY" element
     */
    void setCURRENCY(net.ofx.types.x2003.x04.Currency currency);
    
    /**
     * Appends and returns a new empty "CURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency addNewCURRENCY();
    
    /**
     * Unsets the "CURRENCY" element
     */
    void unsetCURRENCY();
    
    /**
     * Gets the "INV401KSOURCE" element
     */
    net.ofx.types.x2003.x04.Investment401KSourceEnum.Enum getINV401KSOURCE();
    
    /**
     * Gets (as xml) the "INV401KSOURCE" element
     */
    net.ofx.types.x2003.x04.Investment401KSourceEnum xgetINV401KSOURCE();
    
    /**
     * True if has "INV401KSOURCE" element
     */
    boolean isSetINV401KSOURCE();
    
    /**
     * Sets the "INV401KSOURCE" element
     */
    void setINV401KSOURCE(net.ofx.types.x2003.x04.Investment401KSourceEnum.Enum inv401KSOURCE);
    
    /**
     * Sets (as xml) the "INV401KSOURCE" element
     */
    void xsetINV401KSOURCE(net.ofx.types.x2003.x04.Investment401KSourceEnum inv401KSOURCE);
    
    /**
     * Unsets the "INV401KSOURCE" element
     */
    void unsetINV401KSOURCE();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.GeneralOpenOrder newInstance() {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralOpenOrder parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.GeneralOpenOrder) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
